"use strict"

let mongoose 	= require('mongoose');
let Schema 		= mongoose.Schema;

let QywxNounceSchema = new Schema({
	nounce : { type: String, index: {unique: true }, required: true },
  domain : { type: String, required: true },
  account : { type: String, required: true},
	createdAt : { type: Date, default: Date.now },
	updatedAt : { type: Date },
	deletedAt : { type: Date }
});

module.exports = mongoose.model('QywxNounce', QywxNounceSchema);
